home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 15: Shareware / PC Actual CDT 15.iso / files / Windows_95_98 / Programacion / ActiveX / NCTWavPlayer.exe / Main / TestVCView.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-03-06  |  3.7 KB  |  140 lines

  1. // TestVCView.h : interface of the CTestVCView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. //{{AFX_INCLUDES()
  5. #include "nctwavplayer.h"
  6. //}}AFX_INCLUDES
  7.  
  8. #if !defined(AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_)
  9. #define AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. #include "MainFrm.h"
  16.  
  17. class CTestVCView : public CFormView
  18. {
  19. protected: // create from serialization only
  20.     CTestVCView();
  21.     DECLARE_DYNCREATE(CTestVCView)
  22.  
  23. public:
  24.     //{{AFX_DATA(CTestVCView)
  25.     enum { IDD = IDD_TESTVC_FORM };
  26.     CProgressCtrl    m_level;
  27.     CProgressCtrl    m_block;
  28.     CButton    m_agc;
  29.     CSliderCtrl    m_balance;
  30.     CSliderCtrl    m_volume;
  31.     CSliderCtrl    m_gain;
  32.     CNCTWavPlayer    m_player;
  33.     //}}AFX_DATA
  34.  
  35. // Attributes
  36. public:
  37.     CTestVCDoc* GetDocument();
  38.     CMainFrame* m_frame;
  39.  
  40. // Operations
  41. public:
  42.  
  43. // Overrides
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CTestVCView)
  46.     public:
  47.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  48.     protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.     virtual void OnInitialUpdate(); // called first time after construct
  51.     //}}AFX_VIRTUAL
  52.  
  53. // Implementation
  54. public:
  55.     CString fName;
  56.     virtual ~CTestVCView();
  57. #ifdef _DEBUG
  58.     virtual void AssertValid() const;
  59.     virtual void Dump(CDumpContext& dc) const;
  60. #endif
  61.  
  62. protected:
  63.  
  64. // Generated message map functions
  65. protected:
  66.     //{{AFX_MSG(CTestVCView)
  67.     afx_msg void OnPlay();
  68.     afx_msg void OnPause();
  69.     afx_msg void OnStop();
  70.     afx_msg void OnRecord();
  71.     afx_msg void OnCut();
  72.     afx_msg void OnCopy();
  73.     afx_msg void OnPaste();
  74.     afx_msg void OnUndo();
  75.     afx_msg void OnRedo();
  76.     afx_msg void OnLeft();
  77.     afx_msg void OnRight();
  78.     afx_msg void OnZoomin();
  79.     afx_msg void OnZoomout();
  80.     afx_msg void OnFull();
  81.     afx_msg void OnAmplinc();
  82.     afx_msg void OnAmpldec();
  83.     afx_msg void OnNull();
  84.     afx_msg void OnNew();
  85.     afx_msg void OnOpen();
  86.     afx_msg void OnSave();
  87.     afx_msg void OnClose();
  88.     afx_msg void OnSaveselect();
  89.     afx_msg void OnFadein();
  90.     afx_msg void OnFadeout();
  91.     afx_msg void OnInvert();
  92.     afx_msg void OnReverse();
  93.     afx_msg void OnNormalize();
  94.     afx_msg void OnMix();
  95.     afx_msg void OnEcho();
  96.     afx_msg void OnStretch();
  97.     afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
  98.     afx_msg void OnReleasedcaptureSlider2(NMHDR* pNMHDR, LRESULT* pResult);
  99.     afx_msg void OnReleasedcaptureSlider3(NMHDR* pNMHDR, LRESULT* pResult);
  100.     afx_msg void OnCheck1();
  101.     afx_msg void OnChangePlayPos();
  102.     afx_msg void OnChangePos();
  103.     afx_msg void OnEndPlay();
  104.     afx_msg void OnEndRecordBlock();
  105.     afx_msg void OnGainChange();
  106.     afx_msg void OnLoadBlock(short Percent);
  107.     afx_msg void OnOperationBlock(short Percent);
  108.     afx_msg void OnSaveBlock(short Percent);
  109.     afx_msg void OnVolumeChange();
  110.     afx_msg void OnSetup();
  111.     afx_msg void OnConvert();
  112.     afx_msg void OnInssilence();
  113.     afx_msg void OnLevelPlay(long Level);
  114.     afx_msg void OnConvertSample();
  115.     afx_msg void OnCopyClipBoard();
  116.     afx_msg void OnPasteClipBoard();
  117.     afx_msg void OnPasteFromFile();
  118.     afx_msg void OnMixFromFile();
  119.     DECLARE_EVENTSINK_MAP()
  120.     //}}AFX_MSG
  121.     DECLARE_MESSAGE_MAP()
  122. private:
  123.     void ShowParam();
  124.     void ClearParam();
  125.  
  126.     long flgPause;
  127. };
  128.  
  129. #ifndef _DEBUG  // debug version in TestVCView.cpp
  130. inline CTestVCDoc* CTestVCView::GetDocument()
  131.    { return (CTestVCDoc*)m_pDocument; }
  132. #endif
  133.  
  134. /////////////////////////////////////////////////////////////////////////////
  135.  
  136. //{{AFX_INSERT_LOCATION}}
  137. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  138.  
  139. #endif // !defined(AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_)
  140.